runtime.p.status (field)
31 uses
runtime (current package)
metrics.go#L815: if p == nil || p.status == _Pdead {
metrics.go#L819: switch p.status {
mgc.go#L1563: if pp.status == _Pidle {
mgcpacer.go#L741: if p.status != _Prunning {
preempt.go#L290: return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning && mp.curg != nil && readgstatus(mp.curg)&^_Gscan != _Gsyscall
proc.go#L1676: gp.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
proc.go#L1695: pp.status = _Pgcstop
proc.go#L1732: if pp.status != _Pgcstop {
proc.go#L3174: pp.status = _Pgcstop
proc.go#L3327: pp.status = _Pgcstop
proc.go#L4803: atomic.Store(&pp.status, _Pgcstop)
proc.go#L5960: pp.status = _Pgcstop
proc.go#L6070: pp.status = _Pdead
proc.go#L6136: gp.m.p.ptr().status = _Prunning
proc.go#L6159: pp.status = _Pidle
proc.go#L6197: pp.status = _Pidle
proc.go#L6357: if pp.m != 0 || pp.status != _Pidle {
proc.go#L6365: print("wirep: p->m=", pp.m, "(", id, ") p->status=", pp.status, "\n")
proc.go#L6371: pp.status = _Prunning
proc.go#L6392: if pp.m.ptr() != gp.m || pp.status != _Prunning {
proc.go#L6393: print("releasep: m=", gp.m, " m->p=", gp.m.p.ptr(), " p->m=", hex(pp.m), " p->status=", pp.status, "\n")
proc.go#L6402: pp.status = _Pidle
proc.go#L6699: if pp == nil || atomic.Load(&pp.status) != _Prunning {
proc.go#L6802: if pp.status != _Prunning {
proc.go#L6875: atomic.Store(&s.pp.status, state)
proc.go#L6897: if pp.status != _Prunning {
proc.go#L6968: print(" P", i, ": status=", pp.status, " schedtick=", pp.schedtick, " syscalltick=", pp.syscalltick, " m=")
proc.go#L7723: if pp.status == _Prunning {
runtime2.go#L776: status uint32 // one of pidle/prunning/...
tracestatus.go#L55: switch pp.status {
tracestatus.go#L58: if pp.status == _Pgcstop && inSTW {